﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RentHouse.DTO;

namespace RentHouse.IService
{
    public interface IAdminUsersService : IServiceSupport
    {
        /// <summary>
        /// 查全部
        /// </summary>
        /// <returns></returns>
        List<AdminUserDTO> GetList();
        /// <summary>
        /// 添加
        /// </summary>
        string Create(AdminUserDTO adminUserDTO);
        /// <summary>
        /// 删除
        /// </summary>
        string Delete(AdminUserDTO adminUserDTO);
        /// <summary>
        /// 用户修改
        /// </summary>
        string Update(AdminUserDTO adminUserDTO);
        /// <summary>
        /// 用户登录
        /// </summary>
        string Login(AdminUserDTO adminUserDTO);
    }
}
